package com.jdk.thread.oschina;

public class ThreadTask extends Thread {

	public ThreadTask(String name) {
		super(name);
	}

	@Override
	public void run() {
		System.out.println(this.getName().toString() + ", will sleep 0 s");
		try {
			sleep(1 * 10);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		System.out.println(this.getName().toString() + ", I am wakeup now ");
	}

}
